package com.ruoyi.selectionRecords.mapper;

import java.util.List;
import com.ruoyi.selectionRecords.domain.UoocCourseSelection;

/**
 * 选课记录Mapper接口
 * 
 * @author LGJ
 * @date 2025-07-08
 */
public interface UoocCourseSelectionMapper 
{
    /**
     * 查询选课记录
     * 
     * @param recordId 选课记录主键
     * @return 选课记录
     */
    public UoocCourseSelection selectUoocCourseSelectionByRecordId(Long recordId);

    /**
     * 查询选课记录列表
     * 
     * @param uoocCourseSelection 选课记录
     * @return 选课记录集合
     */
    public List<UoocCourseSelection> selectUoocCourseSelectionList(UoocCourseSelection uoocCourseSelection);

    /**
     * 新增选课记录
     * 
     * @param uoocCourseSelection 选课记录
     * @return 结果
     */
    public int insertUoocCourseSelection(UoocCourseSelection uoocCourseSelection);

    /**
     * 修改选课记录
     * 
     * @param uoocCourseSelection 选课记录
     * @return 结果
     */
    public int updateUoocCourseSelection(UoocCourseSelection uoocCourseSelection);

    /**
     * 删除选课记录
     * 
     * @param recordId 选课记录主键
     * @return 结果
     */
    public int deleteUoocCourseSelectionByRecordId(Long recordId);

    /**
     * 批量删除选课记录
     * 
     * @param recordIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteUoocCourseSelectionByRecordIds(Long[] recordIds);
}
